﻿using System;
using System.Collections.Generic; 
using System.Text;
using ATSModel;
using ATSIDAL;

namespace ATSBLL
{
   public class TPackConfig : BaseService<TPackConfigInfo>
    {
       private static readonly ITPackConfig dal = DALFactory.DataAccess.CreateTPackConfig();
        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }


        public IList<TPackConfigInfo> TPackConfig_GetbyPID(string productTypeID)
        {
            return dal.TPackConfig_GetbyPID(productTypeID);
        }

        public TPackConfigInfo TPConfig_GetbyPID(string productTypeID)
        {
            return dal.TPConfig_GetbyPID(productTypeID);
        }

    }
}
